package com.alinesno.cloud.base.logger.alarm.constants;

/**
 * 异常类型
 * @author WeiXiaoJin
 * @since 2020年1月29日 下午19:45:08
 */
public class AlarmTypeConstants {

	// 通知类型
	public static final String NOTICE_WECHAT = "wechat" ; // 微信
	public static final String NOTICE_SMS = "sms" ; // 短信
	public static final String NOTICE_DINGTALK = "dingtalk" ; // 钉钉
	public static final String NOTICE_EMAIL = "email" ; // 邮件
	
	// 异常事件类型
	public static final String ALARM_METHOD_RUNTIME = "ALARM_METHOD_RUNTIME" ; // 方法运行监控
	public static final String ALARM_METHOD_EXCEPTION = "ALARM_METHOD_EXCEPTION" ; // 方法运行异常监控
	public static final String ALARM_REQUEST_URL = "ALARM_REQUEST_URL" ; // URL监控
	public static final String ALARM_DATABASE_SQL = "ALARM_DATABASE_SQL" ; // 数据库监控
	public static final String ALARM_BUSINESS = "ALARM_BUSINESS" ; // 业务异常
	
	// 前后缀
	public static final String SERVICE_SUFFIX = "_SERVICE" ; 
	
}
